#ifdef _Drv_UserInterface_h_
#define _Drv_UserInterface_h_

#define DUMMY 17
#define FLASHTIME 0x40
#define FLASHCOUNT ((FLASHTIME)/20)
#define STRPIN(x) (x) 
#define DATAPIN(x) (x)
#define CLKPIN(x) (x)

typedef struct Led
{
    u8 Led1F:1;
    u8 Led2F:1;
    u8 Led3F:1;
    u8 Led4F:1;
    u8 Led1:1;
    u8 Led2:1;
    u8 Led3:1;
    u8 Led4:1;
}t_Led;

typedef struct NumF
{
    u8 Num1F:1;
    u8 Num2F:1;
    u8 Num3F:1;
    u8 Num4F:1;
    u8 Num5F:1;
    u8 Num6F:1;
    u8 Res1:1;
    u8 Res2:1;
}t_NumF;


typedef struct UIControler
{
    u8 Scan;
    u8 Num1;
    u8 Num2;
    u8 Num3;
    u8 Num4;
    u8 Num5;
    u8 Num6;
    t_Led Led;
    t_NumF NumF;
    void *10msTask(struct UIControler *me) 
}t_UIControler;


#endif





